#include "Stdafx.h"
#include "TextureSampler.h"

namespace WindGE
{
	TextureSampler::TextureSampler()
		: shader_reflection_(nullptr)
	{
	}

	TextureSampler::~TextureSampler()
	{
	}

	void TextureSampler::create(ID3D11ShaderReflection* shaderReflection, const D3D11_SHADER_INPUT_BIND_DESC& inputBindDesc)
	{
		shader_reflection_ = shaderReflection;
		shader_bind_ = std::make_shared<ShaderBind>();
		shader_bind_->create(shader_reflection_, inputBindDesc);
	}

}//end namespace WindGE


